<?php slot('categories') ?>
                <div class="nav nav02">
					<div class="dropper">
						<p class="trigger"><a href="/"><span><?php echo $active ? $active : "Kõik projektid" ?></span></a></p>
						<div class="dropdown01 dropdown02">
							<div class="a clear">
								<ul class="clear">
									<li><a href="<?php echo $projects ?>">Vaata kõiki</a></li>
									<li><span>VALI GRUPPI JÄRGI</span>
										<ul>
                                            
                                            <?php foreach($groups as $group): ?>
                                                <li><a href="<?php echo $group['link'] ?>"><?php echo $group['name'] ?></a></li>
                                            <?php endforeach; ?>
										</ul>
									</li>
									<li><span>FILTRID</span>
										<ul class="clear">
											<li><a href="?sort=date">AJA JARGI</a></li>
											<li><a href="?sort=a-z">A-Z</a></li>
										</ul>
									</li>
								</ul>
							</div>
							<div class="b"></div>
						</div>
					</div>
				</div>
<?php end_slot() ?>